package com.ruoyi.zxjd.work.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工作处理对象 work_handle
 * 
 * @author lcc
 * @date 2021-03-08
 */
public class WorkHandle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 处理ID */
    private Long handleId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 处理人 */
    @Excel(name = "处理人")
    private String userName;

    /** 总工作项 */
    @Excel(name = "总工作项")
    private Integer total;

    /** 未处理工作项 */
    @Excel(name = "未处理工作项")
    private Integer untreatedTotal;

    /** 处理类型（0公告 1工作 2公文 3会议 4纪检风采 5曝光台） */
    @Excel(name = "处理类型", readConverterExp = "0=公告,1=工作,2=公文,3=会议,4=纪检风采,5=曝光台")
    private String type;

    public void setHandleId(Long handleId) 
    {
        this.handleId = handleId;
    }

    public Long getHandleId() 
    {
        return handleId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    public void setTotal(Integer total) 
    {
        this.total = total;
    }

    public Integer getTotal() 
    {
        return total;
    }
    public void setUntreatedTotal(Integer untreatedTotal) 
    {
        this.untreatedTotal = untreatedTotal;
    }

    public Integer getUntreatedTotal() 
    {
        return untreatedTotal;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("handleId", getHandleId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("total", getTotal())
            .append("untreatedTotal", getUntreatedTotal())
            .append("type", getType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }

}
